# -*- coding: utf-8 -*-

import os

def test_cmd(cmd):
    output = os.popen(cmd)
    print(output.read())

test_cmd("bash")